๐Ÿ“ฆ calda / WatchKit-for-iOS

๐Ÿ“„ WatchContainer.storyboard ยท 125 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="NdI-xK-dWh">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13527"/>
        <capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <scenes>
        <!--Watch Container View Controller-->
        <scene sceneID="ioc-xX-POh">
            <objects>
                <viewController id="NdI-xK-dWh" customClass="WatchContainerViewController" customModule="WatchKit_iOS" sceneMemberID="viewController">
                    <layoutGuides>
                        <viewControllerLayoutGuide type="top" id="jKr-1U-h4x"/>
                        <viewControllerLayoutGuide type="bottom" id="zmy-bx-THz"/>
                    </layoutGuides>
                    <view key="view" contentMode="scaleToFill" id="XX4-5q-aEg">
                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                        <subviews>
                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AaZ-Rz-IDV" userLabel="black background">
                                <rect key="frame" x="102.5" y="198.5" width="170" height="220"/>
                                <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                <constraints>
                                    <constraint firstAttribute="width" constant="170" id="7p3-cA-IdP"/>
                                    <constraint firstAttribute="height" constant="220" id="wLk-bo-cFE"/>
                                </constraints>
                            </view>
                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ikE-3a-ASp" userLabel="watch container">
                                <rect key="frame" x="109.5" y="211" width="156" height="195"/>
                                <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                <constraints>
                                    <constraint firstAttribute="width" constant="156" id="awI-3K-mBy"/>
                                    <constraint firstAttribute="height" constant="195" id="vIH-wd-icH"/>
                                </constraints>
                            </view>
                            <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Apple Watch chrome.png" translatesAutoresizingMaskIntoConstraints="NO" id="iH2-2q-Urm">
                                <rect key="frame" x="60.5" y="96" width="254" height="425"/>
                                <constraints>
                                    <constraint firstAttribute="width" secondItem="iH2-2q-Urm" secondAttribute="height" multiplier="187:313" id="CHx-gc-DGD"/>
                                    <constraint firstAttribute="width" constant="254" id="JzS-gW-kZD"/>
                                </constraints>
                            </imageView>
                            <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NYN-0P-n3u">
                                <rect key="frame" x="40" y="566" width="295" height="50"/>
                                <subviews>
                                    <stackView opaque="NO" contentMode="scaleToFill" horizontalCompressionResistancePriority="1000" distribution="fillEqually" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="JCL-u5-Jh0" userLabel="force touch options stack view">
                                        <rect key="frame" x="0.0" y="0.0" width="295" height="50"/>
                                        <subviews>
                                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cnb-F9-YmM">
                                                <rect key="frame" x="0.0" y="0.0" width="295" height="50"/>
                                                <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.055704195210000002" colorSpace="custom" customColorSpace="sRGB"/>
                                                <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="21"/>
                                                <inset key="contentEdgeInsets" minX="10" minY="10" maxX="10" maxY="10"/>
                                                <state key="normal" title="Buttons">
                                                    <color key="titleColor" red="0.36148742760000002" green="0.69239859449999996" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                                </state>
                                                <userDefinedRuntimeAttributes>
                                                    <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                                                        <integer key="value" value="10"/>
                                                    </userDefinedRuntimeAttribute>
                                                </userDefinedRuntimeAttributes>
                                            </button>
                                        </subviews>
                                        <constraints>
                                            <constraint firstAttribute="width" priority="900" constant="400" id="N4V-ta-a24"/>
                                            <constraint firstAttribute="height" constant="50" id="dao-cN-VSc"/>
                                        </constraints>
                                    </stackView>
                                </subviews>
                                <color key="backgroundColor" white="1" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                <constraints>
                                    <constraint firstAttribute="width" relation="lessThanOrEqual" constant="400" id="0Wb-ra-pEm"/>
                                    <constraint firstAttribute="trailing" secondItem="JCL-u5-Jh0" secondAttribute="trailing" id="8l0-qf-qed"/>
                                    <constraint firstItem="JCL-u5-Jh0" firstAttribute="leading" secondItem="NYN-0P-n3u" secondAttribute="leading" id="Krc-nt-wGi"/>
                                    <constraint firstItem="JCL-u5-Jh0" firstAttribute="top" secondItem="NYN-0P-n3u" secondAttribute="top" id="Smq-GO-cCz"/>
                                    <constraint firstItem="JCL-u5-Jh0" firstAttribute="centerX" secondItem="NYN-0P-n3u" secondAttribute="centerX" id="Z8M-UA-42T"/>
                                    <constraint firstAttribute="bottom" secondItem="JCL-u5-Jh0" secondAttribute="bottom" id="lAi-Sp-8lS"/>
                                </constraints>
                            </view>
                        </subviews>
                        <color key="backgroundColor" red="0.97000002860000001" green="0.97000002860000001" blue="0.97000002860000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <constraints>
                            <constraint firstAttribute="centerX" secondItem="iH2-2q-Urm" secondAttribute="centerX" id="1wv-qc-9Wh"/>
                            <constraint firstItem="AaZ-Rz-IDV" firstAttribute="centerX" secondItem="ikE-3a-ASp" secondAttribute="centerX" id="6n5-MX-bYj"/>
                            <constraint firstItem="NYN-0P-n3u" firstAttribute="centerX" secondItem="XX4-5q-aEg" secondAttribute="centerX" id="7g9-gW-w9f"/>
                            <constraint firstItem="NYN-0P-n3u" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="TbE-y3-b4n" secondAttribute="leading" constant="40" id="9A7-Sg-4c1"/>
                            <constraint firstItem="NYN-0P-n3u" firstAttribute="top" secondItem="iH2-2q-Urm" secondAttribute="bottom" constant="45" id="Cs9-hr-dbh"/>
                            <constraint firstItem="ikE-3a-ASp" firstAttribute="centerY" secondItem="iH2-2q-Urm" secondAttribute="centerY" id="Ir8-ec-Hkn"/>
                            <constraint firstItem="AaZ-Rz-IDV" firstAttribute="centerY" secondItem="ikE-3a-ASp" secondAttribute="centerY" id="Juy-ZZ-xPQ"/>
                            <constraint firstAttribute="centerY" secondItem="iH2-2q-Urm" secondAttribute="centerY" constant="25" id="Wss-dB-mqA"/>
                            <constraint firstAttribute="centerY" secondItem="iH2-2q-Urm" secondAttribute="centerY" id="dbX-YC-yEm"/>
                            <constraint firstAttribute="width" secondItem="iH2-2q-Urm" secondAttribute="height" multiplier="375:667" id="dvT-XA-Uxc"/>
                            <constraint firstItem="ikE-3a-ASp" firstAttribute="centerX" secondItem="iH2-2q-Urm" secondAttribute="centerX" id="lQF-5f-9Yq"/>
                            <constraint firstItem="TbE-y3-b4n" firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="NYN-0P-n3u" secondAttribute="trailing" constant="40" id="pTF-fe-UKo"/>
                        </constraints>
                        <viewLayoutGuide key="safeArea" id="TbE-y3-b4n"/>
                        <variation key="default">
                            <mask key="constraints">
                                <exclude reference="dbX-YC-yEm"/>
                                <exclude reference="dvT-XA-Uxc"/>
                            </mask>
                        </variation>
                    </view>
                    <connections>
                        <outlet property="menuItemStackView" destination="JCL-u5-Jh0" id="nMH-tD-gZb"/>
                        <outlet property="stackViewContainer" destination="NYN-0P-n3u" id="jeo-xU-Zvv"/>
                        <outlet property="watchContainer" destination="ikE-3a-ASp" id="y6l-vZ-aek"/>
                    </connections>
                </viewController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="0LI-yD-VJG" sceneMemberID="firstResponder"/>
            </objects>
            <point key="canvasLocation" x="220.5" y="390.5"/>
        </scene>
    </scenes>
    <resources>
        <image name="Apple Watch chrome.png" width="600" height="1000"/>
    </resources>
</document>